package com.itheima.test2;

import java.util.List;

public class Animal {

    private int age;
    private int col;


    public void eat(String something){

    }

    public Animal() {
    }

    public Animal(int age, int col) {
        this.age = age;
        this.col = col;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public int getCol() {
        return col;
    }

    public void setCol(int col) {
        this.col = col;
    }
}
